package creational.singleton;

/**
 * @Description: 饿汉式1
 * @Author: lxt
 * @CreateDate: 2019/11/1
 **/
public class Singleton1 {
    private final static Singleton1 instance = new Singleton1();

    private Singleton1(){}
    public static Singleton1 getInstance() {
        return instance;
    }
}
